if (types && *types && [self copyToPasteboard:pboard types:types]) {
gvFlags.serviceActsOnSelection = YES;
return YES;
} else {
return NO;
}
}
#define SERVICE_CALL_OPERATION NXLocalStringFromTable("Operations", "Service Call", NULL, "The user action of selecting an item in the Services menu.")
/*
* When a result comes back from the Services menu request,
* we replace the selection with the return value.
* If the user really wants the return value in addition to
* the current selection, she can simply copy, then paste
* twice to get two copies, then choose the Services menu item.